package com.juzi.封装;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Student s = new Student();
        Scanner sc = new Scanner(System.in);
        int age = sc.nextInt();
        s.setAge(age);
        System.out.println(s.getAge());
    }
}
